/*
 * @Author: canlong.shen
 * @Date: 2021-11-03 23:59:53
 * @LastEditors: your name
 * @LastEditTime: 2021-11-04 02:08:14
 * @Description: file content
 */
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// 兼容ie 11
import legacy from '@vitejs/plugin-legacy'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue(), legacy({
    targets: ['ie >= 11'],
    additionalLegacyPolyfills: ['regenerator-runtime/runtime']
  })]
})
